let obj = {
  name: 'king',
  books: {
    books1: {
      name: '河边的醋五',
    },
  },
}
Object.defineProperty(obj, 'books1', {
  enumerable: true,
  configurable: false,
  get: () => {
    console.log('get')
    return obj.books1
  },
  set: (value) => {
    console.log('set')
    obj.books1 = value
  },
})

console.log(obj.books1)
obj.books1 = ''
